|
|
|
|
|
|
|
You now have a very powerful tool to use when designing and creating your own applications. |
|
|
|
|
|
|
|
|
What you've seen today can be overwhelming at first, but you'll find that custom controls are just another tool now available for you to use in Visual Basic. By creating and using custom controls, you now can create a single form application that can do anything that you need done. And anytime you need a unique function for your application design, you know how to create it yourself. |
|
|
|
|
|
|
|
|
Q Why should I create my own custom controls? |
|
|
|
|
|
|
|
|
A When you need a unique process for an application, you should consider creating a custom control. Also, if the process you're creating might be used in other applications, a custom control makes it easier to copy the process. |
|
|
|
|
|
|
|
|
Q Are there any limitations to worry about when creating a custom control? |
|
|
|
|
|
|
|
|
A You are limited only by your imagination. But before spending days or weeks creating a custom control, investigate to see if it has already been created, so you can buy it rather than waste the time and effort to create it. |
|
|
|
|
|
|
|
|
The Workshop provides quiz questions to help solidify your understanding of the material covered, as well as exercises to provide you with experience in using what you've learned. Try to understand the quiz and exercise answers before continuing on to the next day's lesson. Answers are provided in Appendix A, Answers to Exercises. |
|
|
|
|
|
|
|
|
1. What makes up a project group? |
|
|
|
|
|
|
|
|
2. What functionality does the SelectionChanged event provide in your application? |
|
|
|
|
|
|
|
|
3. How do Property Pages help with a custom control? |
|
|
|
|
|
|
|
|
By using the process discussed in today's lesson, convert the address data-entry form to a custom control that can be used in the Address Book application. |
|
|
|
|
|